#include<stdio.h>
int main()
{
    int count[123]={0};
    char string[101];
    scanf("%s",&string);
    int i=0;
    while(string[i]!='\0');
    {
        count[string[i]]++;
    }
    for(int i=41;i<123;i++)
    {
        if(count[i]!=0)
        {
            char x=count[i];
            pirntf("The character %c has presented %d times.\n",x,count[i]);
        }
    }
    return 0;
}